package demo;

public class Outer {
 
	private int a = 1;
	
	/**
	 * 内部类
	 * @author Administrator
	 *
	 */
	class Inner{
		public void show(){
			System.out.println(a);
		}
	}
	
	public void show(){
		Inner inner = new Inner();
		inner.show();
	}
	
	public static void main(String[] args) {
		Outer outer = new Outer();
		outer.show();
	}
}
